package test;

import java.io.IOException;

import org.jsoup.Connection;
import org.jsoup.Jsoup;
import org.jsoup.Connection.Method;
import org.jsoup.nodes.Document;

public class Demo {

	public static void main(String[] args) throws IOException {
		String url = "http://www.zotye.com/service/locator.htm";
		Document doc = Jsoup.connect(url)
				.data("ddlProvince", "1")
				.data("ddlCity", "3")
				.data("ctl07", "查询")
				.data("ddlCarType"," ")
				.data("__VIEWSTATE","/wEPDwULLTE2NDQ0MzYxOTIPZBYEAgcPZBYEAgMPEA8WAh4LXyFEYXRhQm91bmRnZBAVEBMtLeivt+mAieaLqei9puWeiy0tBFozMDAETTMwMARUMjAwBFQ2MDADVjEwBFoxMDAH5LqRMTAwUwRaNTAwCOWkp+i/iFg1BFo3MDAERTIwMAjlpKfov4hYNwRUNzAwA1NSOQlUNjAwQ291cGUVEAABMQEyATMBNAE1ATYCMTICMTQCMTUCMTYCMTcCMjICMjMCMjQCMjUUKwMQZ2dnZ2dnZ2dnZ2dnZ2dnZxYBZmQCBQ9kFgJmD2QWBAIBDxAPFgIfAGdkEBUhEy0t6K+36YCJ5oup55yB5Lu9LS0J5a6J5b6955yBCeWMl+S6rOW4ggnph43luobluIIJ56aP5bu655yBCeW5v+S4nOecgQnnlJjogoPnnIEJ5bm/6KW/55yBCei0teW3nuecgQnmsrPljJfnnIEJ5rmW5YyX55yBCeays+WNl+ecgQnmuZbljZfnnIEJ5rW35Y2X55yBDOm7kem+meaxn+ecgQnlkInmnpfnnIEJ5rGf6KW/55yBCeaxn+iLj+ecgQnovr3lroHnnIEM5YaF6JKZ5Y+k55yBCeWugeWkj+ecgQnpnZLmtbfnnIEJ5Zub5bed55yBCeWxseS4nOecgQnkuIrmtbfluIIJ5bGx6KW/55yBCemZleilv+ecgQnlpKnmtKXluIIJ5Y+w5rm+55yBCeaWsOeWhuecgQnopb/ol4/nnIEJ5LqR5Y2X55yBCea1meaxn+ecgRUhAAExATIBMwE0ATUBNgE3ATgBOQIxMAIxMQIxMgIxMwIxNAIxNQIxNgIx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O+8muWMl+S6rOW4guacnemYs+WMuueOi+Wbm+iQpeS5oemBk+WPo+adkTEwMOWPt+W6nuWkp+axvei9puWbreWGhTwvcD4NCjxwPg0KCemUgOWUrueDree6v++8mjAxMC04MDc3OTM5MiZuYnNwOzwvcD5kAgcPZBYCZg8VBAoxMTYuMzE2NzA5CTQwLjA4MzUwNirljJfkuqzlpaXlrp3kuJbovr7msb3ovabplIDllK7mnInpmZDlhazlj7h/PHA+DQoJ5Zyw5Z2A77ya5YyX5Lqs5biC5pyd6Ziz5Yy6546L5Zub6JCl5Lmh6YGT5Y+j5p2RMTAw5Y+35bqe5aSn5rG96L2m5Zut5YaFPC9wPg0KPHA+DQoJ6ZSA5ZSu54Ot57q/77yaMDEwLTgwNzc5MzkyJm5ic3A7PC9wPmQCCA9kFgJmDxUECjExNi4zMTY3MDkJNDAuMDgzNTA2KuWMl+S6rOWlpeWuneS4lui+vuaxvei9pumUgOWUruaciemZkOWFrOWPuH88cD4NCgnlnLDlnYDvvJrljJfkuqzluILmnJ3pmLPljLrnjovlm5vokKXkuaHkupTmlrnmoaXopb/ljJfop5Llup7lpKfmsb3ovablm608L3A+DQo8cD4NCgnplIDllK7ng63nur/vvJowMTAtODA3NzkzOTImbmJzcDs8L3A+ZGS/C8Yq6rAGNgsCAA8kK4OixAtPjg==")
				.data("__VIEWSTATEGENERATOR","4E2ADE32")
				.post();
		System.out.println(doc);
	}

}
